package com.coolingme.demo.power.interfaceadpter;

/**
 * 接口适配器，电源适配器测试
 *
 * @author wangyue
 * @date 2020-09-19 23:41
 */
public class Test {

    public static void main(String[] args) {
        PowerAdpter powerAdpter = new PowerAdpter(new AC220Adaptee());
        powerAdpter.output5V();
        powerAdpter.output10V();
        powerAdpter.output20V();
    }

}
